import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "./assets/rem";
import "./assets/reset.css";
import "./assets/resetVant.css";

import {
  Col,
  Row,
  Button,
  Icon,
  Field,
  Tab,
  Tabs,
  Swipe,
  SwipeItem,
  Grid,
  GridItem,
  CountDown,
  Tabbar,
  TabbarItem,
  Sidebar,
  SidebarItem,
  GoodsAction,
  GoodsActionIcon,
  GoodsActionButton,
  NavBar,
  Sku,
  Uploader,
} from "vant";

Vue.use(Col)
  .use(Row)
  .use(Button)
  .use(Icon)
  .use(Field)
  .use(Tab)
  .use(Tabs)
  .use(Swipe)
  .use(SwipeItem)
  .use(Grid)
  .use(GridItem)
  .use(CountDown)
  .use(Tabbar)
  .use(TabbarItem)
  .use(Sidebar)
  .use(SidebarItem)
  .use(GoodsAction)
  .use(GoodsActionButton)
  .use(GoodsActionIcon)
  .use(NavBar)
  .use(Sku)
  .use(Uploader);

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
